

  /* 下面是框的动画 */
  @keyframes slideInFromBottom {
	from {
	  transform: translateY(100%);
	}
	to {
	  transform: translateY(0%);
	}
  }
  
  @keyframes slideOutToBottom {
	from {
	  transform: translateY(0%);
	}
	to {
	  transform: translateY(100%);
	}
  }
  
  .animated {
	animation: slideInFromBottom 0.5s ease;
  }
  
  .slide-out {
	animation: slideOutToBottom 0.5s ease;
  }
  
  .backShadow {
	width: 100%;
	height: 100%;
	/* background-color: rgba(0, 0, 0, 0.5); */
	background-color: rgba(0, 0, 0, 0.3);
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	z-index: 99;
  }
  
  .sku_goods-content{
	background-color: white;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	/* padding: 20px; */
	border-radius: 8px 8px 0 0;
  }

  
	.sku-container {
  /* display: flex; */
  /* justify-content: space-around; */
  /* flex-wrap: wrap; */
  gap: 15rpx;
  align-items: center;
  padding: 10rpx;
}


.sku-button {
  flex: 1 0 auto; 
  /* max-width: 60px;  */
  /* height: 30px; */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #000;
  font-size: 14px;
  cursor: pointer;
}

.sku-button.sku-selected {
  border: 1rpx solid #ffa500;
  background-color: #fff3e0;
  color: #ffa500;
}

.sku-button.sku-disabled {
  background-color: #e0e0e0;
  color: #a0a0a0;
  cursor: not-allowed;
}  

/* 下面是内层内容样式 */
.sku_container {
   
    width: 100%;
    display: flex;
    justify-content: center;
    /* background-color: rgba(0, 0, 0, 0.5); */
  }
  
  .sku_modal {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .sku_header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
        font-size: 16px;
        font-weight: bold;
  }
  
  .sku_title {
    flex: 1;
  }

  .sku_close-btn {
    font-size: 24px;
    position: absolute;
    right: 0;
    cursor: pointer;
  }
  
  .sku_product-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .sku_product-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
  }
  
  .sku_product-details {
    margin-left: 10px;
    flex: 1;
  }
  
  .sku_product-name {
    font-size: 14px;
    font-weight: bold;
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	/* 缩短并限制在一个确定的行数 */
	overflow: hidden;
	text-overflow: ellipsis;
	/* 文本溢出时添加省略号 */
	word-wrap: break-word;
	/* 单词过长会在词间换行 */
	white-space: normal;
	/* 允许正常换行 */
	font-size: 28rpx;
	font-family: ".PingFang SC-Regular", Arial, sans-serif;
	font-weight: bold;
  }
  
  .sku_tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
  }
  
  .sku_tag {
    color: #9e9e9e;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .sku_price {
    color: #ff4400;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
  }
  
  
  .sku_size-selection {
  }
  
  .sku_size-title {
    font-size: 14px;
    font-weight: bold
  }
  
  .sku_size-options {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  
  .sku_size-option {
    padding: 11rpx;
    /* width: 60px; */
    // height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
  }
  
  .sku_size-option.sku_selected {
    // background-color: #FF730A;
    color: #FF730A;
    border-color: #FF730A;
  }
  
  .sku_size-option.sku_disabled {
    background-color: #eee;
    color: #aaa;
    border-color: #eee;
    cursor: not-allowed;
  }
  
  .sku_size-option .sku_disabled-text {
    text-decoration: line-through;
  }
  
  .sku_out-of-stock {
    position: absolute;
    top: 0;
    right: 0;
    background-color: white;
    color: black;
    font-size: 10px;
    padding: 1px 3px;
    border-radius: 3px;
    transform: translate(50%, -50%);
    z-index: 99;
  }
  
  .sku_quantity-selection {
    margin: 20px 0;
  }
  
  .sku_quantity-title {
    font-size: 14px;
  }
  
  .sku_quantity-control {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  
  .sku_quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
  }
  
  .sku_quantity {
    font-size: 16px;
    margin: 0 10px;
  }
  
  .sku_add-to-cart {
    line-height: 72rpx;
    width: 100%;
    height: 72rpx;
    /* padding: 10px 0; */
    background-color: #ffa500;
    color: white;
    /* border: none; */
    border-radius: 40rpx;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
  }
